
	<div id="pstype1_div">
		<div class="layui-form-item">
			<label class="layui-form-label">自提门店：</label>
			<div class="layui-input-inline">
				<input type="radio" name="info[storetype]" value="0" title="全部" {if !$info || !$info['storetype'] || $info['storetype']==0}checked{/if} lay-filter="storetype">
				<input type="radio" name="info[storetype]" value="1" title="选择门店" {if $info && $info['storetype']==1}checked{/if} lay-filter="storetype">
			</div>
		</div>
		<div class="layui-form-item" id="storetype1_div">
			<label class="layui-form-label">选择门店：</label>
			<div class="layui-input-inline" style="width:500px">
			{php} $storeids = $info?explode(',',$info['storeids']):[];{/php}
			{foreach $mendianArr as $k=>$v}
				<input type="checkbox" name="info[storeid][]" value="{$k}" title="{$v}" lay-skin="primary" {if in_array($k,$storeids)}checked{/if}  >
			{/foreach}
			</div>
		</div>
	</div>

	<style type='text/css'>
	.modal-areas .layui-layer-content{ position:static;overflow:visible;height:300px}
	.province { float:left; position:relative;width:210px; height:35px; line-height:35px;border:1px solid #fff;}
	.province:hover { border:1px solid #f7e4a5;border-bottom:1px solid #fffec6; background:#fffec6;}
	.province .cityall { margin-top:10px;}
	.province ul { list-style: outside none none;position:absolute;padding:0;background:#fffec6;border:1px solid #f7e4a5;display:none;width:auto; width:300px; z-index:999999;left:-1px;top:32px;}
	.province ul li  { float:left;min-width:60px;margin-left:20px; height:30px;line-height:30px; position:relative; }
	.province ul li dl { list-style: outside none none;position:absolute;padding:0;background:#fee993;border:1px solid #f7e4a5;display:none;width:auto; width:220px; z-index:9999999;left:-1px;top:0px; margin-left:60px;}
	.province dl dd  { float:left;min-width:60px;margin-left:20px; height:30px;line-height:30px; }
	</style>
	<div id="modal-areas" style="display:none">
	</div>
	<script>
	layui.form.on('radio(storetype)',function(data){
		if(data.value == '0'){
			$('#storetype1_div').hide();
		}else{
			$('#storetype1_div').show();
		}
	})
  </script>
